(function(){
    // 整个应用的顶层视图
    App.views.AppView = Backbone.View.extend({
        initialize: function() {
            // 事件总线, 在各个子视图之间传递消息
            this.eventBus = _.extend({}, Backbone.Events);
            this.sidenavView = new App.views.SidenavView({
                eventBus: this.eventBus
            });
        },
        getCurr: function(){
            // 返回当前模块的实例引用
            return this.modules.curr;
        }
    });
})();
